﻿//using System.Collections.Generic;
//using System.Threading.Tasks;
//using Volo.Abp.DependencyInjection;
//using Volo.Abp.Domain.Entities;
//using Volo.Abp.Domain.Repositories;

//namespace Xms.Abp.Domain.Repositories;

//[Dependency(TryRegister = true)]
//public class NullAttachProvider : IAttachProvider, ISingletonDependency
//{
//    public async Task AttachAsync<TEntity>(IRepository<TEntity> repository, TEntity entity)
//        where TEntity : class, IEntity
//    {
//        await Task.CompletedTask;
//    }
//    public async Task AttachAsync<TEntity>(IRepository<TEntity> repository, IEnumerable<TEntity> entities)
//        where TEntity : class, IEntity
//    {
//        await Task.CompletedTask;
//    }
//}

